﻿<UserControl x:Class="MH.CRM.Summary.ActivityRow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="60" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" MouseLeftButtonDown="LayoutRoot_MouseLeftButtonDown">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="22"/>
            <ColumnDefinition Width="22"/>
            <ColumnDefinition Width="280"/>
            <ColumnDefinition Width="80"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        
        <Image Name="ImageIcon" Grid.Row="0" Grid.Column="0" Width="16" Margin="1,0,0,0" Height="16" Source="/MH.CRM.Summary;component/imgs/ico_16_4200.png" />
        <Image Name="ImageStatus" Grid.Row="0" Grid.Column="1" Width="16" Height="16" Source="/MH.CRM.Summary;component/imgs/icon_undone.png" />
        <TextBlock Name="TextBlockOwner" Grid.Column="2" Grid.Row="0"/>
        <TextBlock Name="TextBlockDate" Grid.Column="3" TextAlignment="Right" HorizontalAlignment="Right" Grid.Row="0"/>        
        <TextBlock Name="TextBlockSubject"  Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="2" Foreground="Gray"/>        
    </Grid>
</UserControl>
